package com.varian.system.vo;

import com.varian.tool.enums.UserStatusEnum;
import com.varian.tool.model.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author ben
 * @since 2024/7/1
 */
@Data
@Schema(title = "用户视图对象")
public class SysUserVO extends BaseVO {

    @Schema(title = "部门id")
    private Long deptId;
    @Schema(title = "用户名")
    private String username;
    @Schema(title = "昵称")
    private String nickname;
    @Schema(title = "用户状态")
    private UserStatusEnum userStatus;
    @Schema(title = "最后登录时间")
    private LocalDateTime lastLoginTime;
    @Schema(title = "最后登录ip")
    private String lastLoginIp;
    @Schema(title = "创建时间")
    private LocalDateTime createTime;
    @Schema(title = "更新时间")
    private LocalDateTime updateTime;
}
